package com.anolesoft.yr.mbus.base.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author zhj
 * @date 2020/8/9 10:53
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class BaseCompanyVO {
    private String objuid;
    private String factoryCode;
    private String baseRegionUid;
    private String companyCode;
    private String companyName;
    private String companyOtherName;
    private String companyAddress;
    @DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
    private LocalDate establishTime;
    private String companyWebsite;
    private String email;
    private String contactPerson;
    private String contactNumber;
    private String faxNumber;
    private String companyGrade;
    private String legalPerson;
    private String companyType;
    private String bank;
    private String account;
    private String taxNumber;
    private String createUserUid;
    private LocalDateTime createTime;
    private String modifyUserUid;
    private LocalDateTime modifyTime;
    private Boolean deleteFlag;
    private String remark;
    private BaseRegionVO region;
    @JsonIgnore
    private Integer rows;
    @JsonIgnore
    private Integer page;
    private List<BaseContactVO> contacts;

    private String regionName;
}
